package plus.easydo.easypush.dingtalk.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author laoyu
 * @version 1.0
 * @date 2022/2/25
 */
@Data
@Builder
@ApiModel("钉钉-选中的用户或部门集合")
@NoArgsConstructor
@AllArgsConstructor
public class DingTalkSelectUsers {

    @ApiModelProperty("选中的数量")
    private Integer selectedCount;

    @ApiModelProperty("选中的部门-全选部门内所有人才有，否则是空的")
    private List<DingTalkDepartment> departments;

    @ApiModelProperty("选中的用户")
    private List<DingTalkUser> users;



}
